package org.example.Template.game;

import java.util.function.Consumer;

/**
 * 实现方法
 */
public class Cricket extends Game {
    @Override
    protected void initialize() {
         System.out.println("Cricket Game Initialized! Start playing.");
    }

    @Override
    protected void startPlay() {
       System.out.println("Cricket Game Started. Enjoy the game!");
    }

    @Override
    protected void endPlay() {
       System.out.println("Cricket Game Finished!");
    }
}
